<?php
/**
 * Created by PhpStorm.
 * User: DRG
 * Date: 2018/8/13
 * Time: 10:04
 */
$b = [2,1,5,4,3,6,7,8];
$a = [1,2,3,4,5,6,7,8];
for($a=0;$a<$endNum;$a++) {//1001

}